package cn.ltgodm.moj.service;

import cn.ltgodm.moj.model.entity.QuestionSubmit;
import cn.ltgodm.moj.model.vo.QuestionSubmitVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "moj-backend-judge-service",path = "/api/judge/inner")
public interface JudgeFeignClient {

    @PostMapping("/do")
    QuestionSubmitVO doJudge(Long questionSubmitId);

}
